﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace TestProject1.MainClasses
{
    public class Category
    {
        int i_cat=0;
        string name="";

        public int GetID() { return this.i_cat; }
        public string GetName() { return this.name; }

        public void SetID(int i) { this.i_cat = i; }
        public void SetName(string str) { this.name = str; }
        
        public Category add(int y, string s){
            this.SetID(y);
            this.SetName(s);
            return this;
        }
        public Category edit(int y, string s)
        {
            this.SetID(y);
            this.SetName(s);
            return this;
        }
        void del() { }


    }
}